<?php
// +----------------------------------------------------------------------
// | 文件 TestController.class.php
// +----------------------------------------------------------------------
// | 说明 test
// +----------------------------------------------------------------------
// | 
// +----------------------------------------------------------------------
// | Author: 谢赤心 Legend. <xcx_legender@qq.com>
// +----------------------------------------------------------------------

namespace Api\Controller;

use Api\Event\CacheEvent;

use Think\Controller;
 

class TestController extends Controller {

    public function _empty() {
    }
    /**
     *成员变量的初始化
     */
    protected function _initialize() {
        
    }

    public function index()
    {
        $cache = CacheEvent::instance(0);
        $data = $cache->incr('test', 1);
        // unset($cache);
        exit;
    }

}